home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
DEMOCIAL
/
DEMODBS1.LZH
/
UNINSTAL.BAT
< prev
Wrap
DOS Batch File
|
1986-03-20
|
3KB
|
83 lines
ECHO OFF
CLS
:START
ECHO dBASE III PLUS SAMPLER UNINSTALLATION
ECHO ┌──────────────────────────────────────────────────────────────┐
ECHO │ MEMORY AND DRIVE SELECTION │
ECHO │══════════════════════════════════════════════════════════════│
ECHO │ A. 256K and 2 floppy drives │
ECHO │ B. More than 256k and 2 floppy drives │
ECHO │ C. 256k and 1 floppy drive and 1 harddisk │
ECHO │ D. More than 256k and 1 floppy drive and 1 harddisk │
ECHO └──────────────────────────────────────────────────────────────┘
ERRSET UNinstall which configuration? :
IF ERRORLEVEL 5 GOTO START
IF ERRORLEVEL 4 GOTO D
IF ERRORLEVEL 3 GOTO C
IF ERRORLEVEL 2 GOTO B
IF ERRORLEVEL 1 GOTO A
:A
CLS
ECHO Put Sampler disk 1 in drive A, and your Dos Disk in drive B
ECHO (Remember to remove any write protect tabs from disk)
PAUSE
REN CONFIG.DB CONFI256.DB
REN CONFIG.OLD CONFIG.DB
B:
DEL CONFIG.SYS
IF EXIST CONFIGS.OLD REN CONFIGS.OLD CONFIG.SYS
CLS
ECHO dBASE III SAMPLER has been successfully UNinstalled.
ECHO (Note: If your Dos Disk contains a file called Config.sys
ECHO it may be necessary to re-boot your computer )
GOTO END
:B
CLS
ECHO Put Sampler disk 1 in drive A, and your Dos Disk in drive B
ECHO (Remember to remove any write protect tabs from disk)
PAUSE
B:
DEL CONFIG.SYS
IF EXIST CONFIGS.OLD REN CONFIGS.OLD CONFIG.SYS
CLS
ECHO dBASE III SAMPLER has been successfully UNinstalled
ECHO (Note: If your Dos Disk contains a file called Config.sys
ECHO it may be necessary to re-boot your computer )
GOTO END
:C
C:
CD \
DEL CONFIG.SYS
IF EXIST CONFIGS.OLD RENAME CONFIGS.OLD CONFIG.SYS
CD \SAMPLER
CLS
ECHO Deleting files from sampler subdirectory.
DEL \sampler\*.*
CD \
RD SAMPLER
CLS
ECHO dBASE III SAMPLER has been successfully UNinstalled.
ECHO (Note: If your Root directory contains a file called Config.sys
ECHO it may be necessary to re-boot your computer )
GOTO END
:D
C:
CD \
DEL CONFIG.SYS
IF EXIST CONFIGS.OLD REN CONFIGS.OLD CONFIGS.SYS
CD \SAMPLER
CLS
ECHO Deleting files from sampler subdirectory
DEL \SAMPLER\*.*
CLS
ECHO dBASE III SAMPLER has been successfully UNinstalled.
ECHO (Note: If your Root directory contains a file called Config.sys
ECHO it may be necessary to re-boot your computer )
GOTO END
:END